package com.ruoyi.usermanage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 骑手信息对象 rider
 * 
 * @author atzxc
 * @date 2024-04-13
 */
public class Rider
//public class Rider extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 骑手ID */
    private Long riderId;

    /** 用户表外键，哪个用户的信息 */
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 电子邮件 */
    @Excel(name = "电子邮件")
    private String email;

    /** 骑手信用分 */
    @Excel(name = "骑手信用分")
    private Long scores;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationDate;

    /** 学号 */
    @Excel(name = "学号")
    private String identificationStuNumber;

    /** 学生证照片路径数组；分割 */
    @Excel(name = "学生证照片路径数组；分割")
    private String identificationStuImageUrl;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String identificationCardNumber;

    /** 身份证照片数组（；分割） */
    @Excel(name = "身份证照片数组", readConverterExp = "；=分割")
    private String identificationCardImageUrl;

    /** 认证状态 */
    @Excel(name = "认证状态")
    private String authStatus;

    public void setRiderId(Long riderId) 
    {
        this.riderId = riderId;
    }

    public Long getRiderId() 
    {
        return riderId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setScores(Long scores) 
    {
        this.scores = scores;
    }

    public Long getScores() 
    {
        return scores;
    }
    public void setRegistrationDate(Date registrationDate) 
    {
        this.registrationDate = registrationDate;
    }

    public Date getRegistrationDate() 
    {
        return registrationDate;
    }
    public void setIdentificationStuNumber(String identificationStuNumber) 
    {
        this.identificationStuNumber = identificationStuNumber;
    }

    public String getIdentificationStuNumber() 
    {
        return identificationStuNumber;
    }
    public void setIdentificationStuImageUrl(String identificationStuImageUrl) 
    {
        this.identificationStuImageUrl = identificationStuImageUrl;
    }

    public String getIdentificationStuImageUrl() 
    {
        return identificationStuImageUrl;
    }
    public void setIdentificationCardNumber(String identificationCardNumber) 
    {
        this.identificationCardNumber = identificationCardNumber;
    }

    public String getIdentificationCardNumber() 
    {
        return identificationCardNumber;
    }
    public void setIdentificationCardImageUrl(String identificationCardImageUrl) 
    {
        this.identificationCardImageUrl = identificationCardImageUrl;
    }

    public String getIdentificationCardImageUrl() 
    {
        return identificationCardImageUrl;
    }
    public void setAuthStatus(String authStatus) 
    {
        this.authStatus = authStatus;
    }

    public String getAuthStatus() 
    {
        return authStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("riderId", getRiderId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("scores", getScores())
            .append("registrationDate", getRegistrationDate())
            .append("identificationStuNumber", getIdentificationStuNumber())
            .append("identificationStuImageUrl", getIdentificationStuImageUrl())
            .append("identificationCardNumber", getIdentificationCardNumber())
            .append("identificationCardImageUrl", getIdentificationCardImageUrl())
            .append("authStatus", getAuthStatus())
            .toString();
    }
}
